<?php
	include_once("../../MasterPages/headerPHPScript.php");
	$UserService = new UserService();
	$UserCode = $_GET["UserCode"];
	$Flag = ISSET($_GET["Flag"]) ? $_GET["Flag"] : "";
	
	if($Flag!="" && $Flag=="delete"){
		$UserService->DeleteUserProfile($UserCode);
	}else{
		//$CourseRegisterService->InsertCourseRegister($CourseID,$StudentCode);
	}
	
	header("location:../index.php?page=admin-manage-profile.php");
?>
